import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
      userCode: ''
  },
  mutations: {
      //存储用户信息
      storeUseInfo(state, payload) {
          state.userCode = payload.userCode;
      },
  },
  actions: {
  },
  modules: {
  }
})
